package com.tcp2.msg.rpc;

/**
 *
 * Author: 杨俊辉
 * Time: 2014-10-10 17:09
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 */

import java.util.Arrays;

/**
 * 车辆拍照应答
 */
public class Up_1502  extends BaseRes {
    @Override
    public String id() {
        return "1502";
    }

    private String lpn;
    private Byte col;
    private Byte photoRspFlag;//拍摄应答标识
    private GnssData gnssData;//拍摄位置地点
    private Byte lensId; //镜头id
    private Byte sizeType; //图片大小
    private Byte type; // 图片格式
    private byte[] photo; //图片内容

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public Byte getCol() {
        return col;
    }

    public void setCol(Byte col) {
        this.col = col;
    }

    public Byte getPhotoRspFlag() {
        return photoRspFlag;
    }

    public void setPhotoRspFlag(Byte photoRspFlag) {
        this.photoRspFlag = photoRspFlag;
    }

    public GnssData getGnssData() {
        return gnssData;
    }

    public void setGnssData(GnssData gnssData) {
        this.gnssData = gnssData;
    }

    public Byte getLensId() {
        return lensId;
    }

    public void setLensId(Byte lensId) {
        this.lensId = lensId;
    }

    public Byte getSizeType() {
        return sizeType;
    }

    public void setSizeType(Byte sizeType) {
        this.sizeType = sizeType;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public byte[] getPhoto() {
        return photo;
    }

    public void setPhoto(byte[] photo) {
        this.photo = photo;
    }

    @Override
    public String toString() {
        return "Up_1502{" +
                "lpn='" + lpn + '\'' +
                ", col=" + col +
                ", photoRspFlag=" + photoRspFlag +
                ", gnssData=" + gnssData +
                ", lensId=" + lensId +
                ", sizeType=" + sizeType +
                ", type=" + type +
                ", photo=" + Arrays.toString(photo) +
                '}';
    }
}
